<link rel="stylesheet" type="text/css" href="/assets/499a366a/js/fancybox/jquery.fancybox-1.3.1.css" />
<script type="text/javascript" src="/assets/499a366a/js/fancybox/jquery.fancybox-1.3.1.pack.js"></script>
<script src="/js/common.js"></script>
<style>
#fancybox-title span {
	float: right;
}
#adv-banners td {
	text-align: center;
}
</style>
<div id="adv-banners">
	<div class="block">
		<div class="block-title"><?php echo str_ireplace("www.", "", $website->domain) ?> - Banners</div>
		<div>
			<?php $this->widget('zii.widgets.grid.CGridView', array(
				'id'=>'adv-grid',
				'dataProvider'=>$dataProvider,
				'summaryText' => "",
				'columns'=>array(
					array("name" => "Size", 'value' => '$data->data[width]."x".$data->data[height]'),
					array("name" => "Banner", 'value' => '"<img style=\'margin:5px;\' src=\'/{$data->data[thumb]}\' {$data->data[img_size]} />"', "type" => "raw"),
					array("name" => " ", "value" => '"<input title=\'{$data->data[title]}\' type=\'button\' value=\'Get Code\' href=\'/index.php/owner/adv/view/id/{$data->adv_id}\' class=\'get-code-btn\' />"', "type" => "raw")
				),
			)); ?>
		</div>
	</div>
</div>